package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.${packageName}.read;

import java.util.List;

import com.MutiModule.common.myPage.MyPageView;
import com.MutiModule.common.vo.mybatis.pagination.Page;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.${packageName}.${className};
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.${packageName}.${className}Example;

/**
 * ${className} 模块 读接口
 * @author alexgaoyh
 *
 */
public interface I${className}ReadService {

	int countByExample(${className}Example example);

    List<${className}> selectByExample(${className}Example example);

    ${className} selectByPrimaryKey(Long id);
    
    /**
     * 获取分页实体信息部分
     * @param exampleWithOutPage	参数传递，封装部分过滤参数
     * @param page	实体分页类部分
     * @return
     */
    MyPageView<${className}> generateMyPageViewVO(${className}Example exampleWithOutPage, Page page);
    
}
